<template>
	<div>
		<charts :type="type"></charts>
	</div>
</template>

<script>
	import charts from '@/view/compents/charts_nav';
	export default {
		components:{
			charts
		},
		data(){
			return {
				type: '0'
			}
		},
		watch:{
			'$route'(to,from){
				this.type = to.query.type;
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
